<?php
session_start();
include "headerVerify.php";
include "connect.php";
?>

<link href="css/navigation.css" rel="stylesheet" type="text/css">

<?php
echo "<div id='adminNavigationContainer'>";

$navigationResult = mysql_query("SELECT * FROM navigation WHERE navigationPermission <= $userPermission ");

while($navRow = mysql_fetch_array($navigationResult))
  {
  echo '<a href="'.$navRow['navigationLink'].'" class="updateButton">'.$navRow['navigationName'].'</a>';
  }

echo "</div>";

?>


